﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed

#pragma once

#include "GcmpGeometryInterface.h"


namespace gcmp
{
    class ICurve2d;

    /// \brief 曲线与曲面的重合数据
    ///
    class GCMP_GEOMETRY_INTERFACE_EXPORT ICurveSurfaceCoincidenceData
    {
    public:
        /// \brief  获取三维曲线与曲面相交段曲线的起点参数
        ///
        /// \return 三维曲线与曲面相交段曲线的起点参数
        virtual double GetStartParamOnCurve() const = 0;

        
        /// \brief  获取三维曲线与曲面相交段曲线的终点参数
        ///
        /// \return 三维曲线与曲面相交段曲线的终点参数
        virtual double GetEndParamOnCurve() const = 0;

        
        /// \brief  获取三维曲线与曲面相交段曲线曲线对应的参数曲线
        ///
        /// \return 三维曲线与曲面相交段曲线曲线对应的参数曲线
        virtual const ICurve2d* GetParameterCurve() const = 0;

    };
}

